From: Miles Bader Date: Mon, 28 Oct 2002 08:15:29 +0000 (+0000) Subject: (makefile-warn-continuations): Don't barf when there _aren't_ any X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~30017 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b80246635cfd6a9bb92f8232131c44cc14f25785;p=emacs.git (makefile-warn-continuations): Don't barf when there _aren't_ any suspicious continuations. --- diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 1a53455f534..9bc950f9be5 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -1393,7 +1393,7 @@ and generates the overview, one line per target name." (if (eq major-mode 'makefile-mode) (save-excursion (goto-char (point-min)) - (if (re-search-forward "\\\\[ \t]+$") + (if (re-search-forward "\\\\[ \t]+$" nil t) (not (y-or-n-p (format "Suspicious continuation in line %d. Save anyway? " (count-lines (point-min) (point)))))))))